package game;

/**
 * <p>An <tt>OutcomeListener</tt> wants to know when the outcome of a game of chess has been won or tied.</p>
 * 
 * @author Mark Kelly
 * @version 3.0
 *
 */
public interface OutcomeListener {

	/**
	 * <p>Called when a game has been won</p>
	 * 
	 * @param team the winning team
	 */
	void gameWon(Team team);
	
	/**
	 * <p>Called when a stalemate has been reached</p>
	 * 
	 * @param reason the reason for the tie
	 */
	void gameTied(String reason);
}
